beginscenscript;
	
// ABILITY TYPES
// Reserving 0 - 99 for hostile, targeted abils (touch and missile)
// 100 - 199  Just happen abilities (both friendly and hostile), non-targeted
// 200 - 255  Targeted abilities used on friends (touch, generally)
begindefineability 9;
// Held in reserve to import to totally flush values

begindefineability 0;
// import for basic melee damage
	ab_name = "Melee Attack";
	ab_abil_type = 0;
	ab_graphic_type = 1;
	ab_stat_ability_linked_to = 4;
	ab_stat_for_ability_bonus = -1;

	ab_effect_type = 0;
	ab_effect_base = 5;
	ab_effect_per_level = 4;

	ab_accuracy_adjust = 60;
	ab_ability_sound = 16;
	ab_impact_sound = 8;
	ab_impact_sfx_effect = 23;
	ab_random_effect_shift = 1;
	
begindefineability 1;
	ab_name = "Bite";
	ab_ability_sound = 18;
	ab_impact_sound = -1;
	
begindefineability 2;
	ab_name = "Shortsword";
	ab_effect_base = 5;
	ab_effect_per_level = 4;
	ab_accuracy_adjust = 50;
	ab_ability_sound = 16;
	ab_impact_sound = 7;
	
// Begin simple projectiles
begindefineability 3;
	// Basic missile -> radiate cloud for importation
	ab_name = "Firebolt";
	ab_abil_type = 2;
	ab_graphic_type = 0;
	ab_missile_short_range = 1;

	ab_missile_type_fired = 0;
	ab_impact_sfx_effect = -1;
	ab_random_effect_shift = 0;
	
	ab_stat_ability_linked_to = 40; 
	ab_stat_for_ability_bonus = 9;
	
	ab_damage_type = 2;
	ab_effect_type = 0;
	ab_effect_base = 4;
	ab_effect_per_level = 3;	

	ab_ability_sound = 191;
	ab_impact_sound = 9;
	ab_energy_cost = 4;
	ab_essence_cost = 0;
	ab_accuracy_adjust = 60;
	
begindefineability 4;
	// Basic missile -> simple effect for importation
	ab_name = "Searer";
	ab_abil_type = 2;
	ab_graphic_type = 0;
	
	ab_missile_type_fired = 2;
	ab_impact_sfx_effect = -1;//12;
	ab_number_of_effect = 8;
	
	ab_stat_ability_linked_to = 42; 
	ab_stat_for_ability_bonus = 9;
	
	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = 2;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 132; 
	ab_impact_sound = 158;
	ab_energy_cost = 40;
	ab_essence_cost = 1;
	ab_accuracy_adjust = 70;


begindefineability 5;
	import = 3;
	ab_name = "Essence Orbs";

	ab_missile_type_fired = 5;
	
	ab_stat_ability_linked_to = 45; 
	ab_stat_for_ability_bonus = 9;

	ab_damage_type = 1;
	ab_effect_base = 20;
	ab_effect_per_level = 5;	

	ab_num_of_missiles = 3;
	ab_ability_sound = 107;
	ab_impact_sound = 117;
	ab_energy_cost = 75;
	ab_essence_cost = 4;

begindefineability 7;
	ab_name = "Diamond Spray";
	ab_abil_type = 3;

	ab_missile_type_fired = 7;

	ab_damage_type = 1;
	ab_effect_base = 30;
	ab_effect_per_level = 6;	

	ab_num_of_missiles = 8;
	ab_energy_cost = 0;
	ab_essence_cost = 0;
	ab_accuracy_adjust = 70;

begindefineability 8;
	import = 4;
	ab_name = "Acid Spit";
	ab_status_effect = 6;	

begindefineability 10;
// Imported for instant effects with nimbus around target
	ab_name = "Stun";
	ab_abil_type = 1;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = 12;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 46; 
	ab_stat_for_ability_bonus = 10;

	ab_damage_type = 1;
	ab_effect_type = 0;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = 3;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 104;
	ab_impact_sound = -1;
	ab_energy_cost = 0;
	ab_essence_cost = 0;
	ab_accuracy_adjust = 70;
	
begindefineability 13; // monster-cast terror
	ab_name = "Terror";
	ab_abil_type = 1;
	ab_graphic_type = 1;
	
	ab_impact_sfx_effect = -1;//158;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 54; 
	ab_stat_for_ability_bonus = 10;

	ab_damage_type = 4;
	ab_effect_type = 0;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = 7;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 3;

	ab_ability_sound = 123;
	ab_impact_sound = -1;
	ab_energy_cost = 80;
	ab_essence_cost = 2;
	ab_accuracy_adjust = 120;

begindefineability 14; // pc-cast terror
	ab_effect_type = -1;
	
begindefineability 15;
	ab_name = "Dominate";
	ab_abil_type = 1;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//154;
	ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 55; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = -1;
	ab_status_effect = 5;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 3;

	ab_ability_sound = 128;
	ab_impact_sound = -1;
	ab_energy_cost = 90;
	ab_essence_cost = 5;
	ab_accuracy_adjust = 120;

begindefineability 16; // fyora fire
	// imported for puffs of fiery breath
	import = 3;
	ab_abil_type = 3;
	
	ab_missile_type_fired = 70;
	//ab_missile_type_fired = 1111;
	
	ab_accuracy_adjust = 75;
	ab_ability_sound = 157;
	
begindefineability 17;
	ab_name = "Ice Breath";

	ab_missile_type_fired = 71;

	ab_stat_ability_linked_to = 43; 
	ab_stat_for_ability_bonus = 9;
	
	ab_damage_type = 6;
	ab_effect_type = 0;
	ab_effect_base = 15;
	ab_effect_per_level = 6;	

	ab_energy_cost = 30;
	ab_stunning_chance = 70;
	ab_accuracy_adjust = 80;
	ab_ability_sound = 118;

begindefineability 18;
	import = 3;
	ab_name = "Ice Spray";
	ab_missile_type_fired = 3;
	
	ab_damage_type = 6;
	ab_effect_type = 0;
	ab_effect_base = 15;
	ab_effect_per_level = 6;	
	ab_ability_sound = 118;
	ab_energy_cost = 50;
	ab_essence_cost = 0;
begindefineability 19; // alternate weak version made just for shaila
	ab_effect_base = 2;

begindefineability 20;
	import = 4;
	ab_name = "Javelin";
	ab_abil_type = 2;

	ab_missile_type_fired = 15;
	ab_impact_sfx_effect = 23;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 5; 
	ab_stat_for_ability_bonus = -1;
	
	ab_damage_type = 0;
	ab_effect_type = 0;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = -1;

	ab_energy_cost = 0;
	ab_essence_cost = 0;
	ab_ability_sound = 2;
	ab_impact_sound = 17;
	ab_random_effect_shift = 1;
begindefineability 21;
	ab_name = "Flung Rock";

	ab_missile_type_fired = 16;
	ab_impact_sfx_effect = 23;
	ab_number_of_effect = 1;

	ab_damage_type = 0;
	ab_effect_type = 0;
	ab_effect_base = 15;
	ab_effect_per_level = 8;
	ab_status_effect = -1;

	ab_ability_sound = 2; 
	ab_impact_sound = 17; 
begindefineability 22;
	ab_name = "Stunning Rock";
	ab_status_effect = 3;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

begindefineability 23; // drayk/drakon fire
	// imported for puffs of fiery breath
	import = 16;

	ab_damage_type = 2;
	ab_effect_type = 0;
	ab_effect_base = 25;
	ab_effect_per_level = 9;
begindefineability 24; // ur-drakon fire
	ab_effect_base = 40;
	ab_effect_per_level = 10;
	ab_status_effect = 20;
	ab_status_effect_base = 0;
	ab_status_effect_per_level = 1;

begindefineability 25;
	import = 10;
	ab_name = "Disruption";
	ab_abil_type = 1;
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = -1;//173;
	ab_number_of_effect = 1;
	
	ab_effect_type = 0;
	ab_damage_type = 3;
	ab_effect_base = 15;
	ab_effect_per_level = 8;
	ab_status_effect = -1;

	ab_impact_sound = 114;

// TARGETED RAIN ABILITIES
begindefineability 30; // fire rain, is a spell, high damage
	import = 9;
	ab_name = "Purifying Rain";
	ab_abil_type = 4;

	ab_missile_type_fired = 133;

	ab_graphic_type = -1;

	ab_stat_ability_linked_to = 49; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 2;
	ab_effect_base = 20;
	ab_effect_per_level = 10;
	ab_status_effect = -1;

	ab_missile_short_range = 1;
	ab_ability_sound = 178;
	ab_energy_cost = 200;
	ab_essence_cost = 20;
begindefineability 31; // energy damage rain, is a spell, medium damage
	ab_name = "Shocking Rain";

	ab_missile_type_fired = 134;
	
	ab_stat_ability_linked_to = 45; 
	ab_stat_for_ability_bonus = 9;

	ab_damage_type = 1;
	ab_effect_base = 10;
	ab_effect_per_level = 5;	

	//ab_num_of_missiles = 3;
	ab_ability_sound = 107;
	//ab_impact_sound = 117;
	ab_energy_cost = 75;
	ab_essence_cost = 4;
begindefineability 32; // ice rain, low damage
	ab_name = "Icy Rain";
	ab_missile_type_fired = 139;
	
	ab_damage_type = 6;
	ab_effect_base = 5;
	ab_effect_per_level = 3;	

	ab_ability_sound = 107; 
begindefineability 33; // poison rain, low damage + acid
	ab_name = "Poison Rain";
	ab_missile_type_fired = 135;
	
	ab_damage_type = 4;
	ab_effect_base = 5;
	ab_effect_per_level = 3;	
	ab_status_effect = 2;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 226;
begindefineability 34; // energy rain, high damage + acid
	ab_name = "Lightning Rain";
	ab_missile_type_fired = 136;
	
	ab_damage_type = 1;
	ab_effect_base = 20;
	ab_effect_per_level = 10;	
	ab_status_effect = 20;
	ab_status_effect_base = 0;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 243; 
begindefineability 35; // curse rain, low damage + curse
	ab_name = "Dampening Field";
	ab_missile_type_fired = 137;
	
	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 3;	
	ab_status_effect = 0;
	ab_status_effect_base = 0;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 225;
begindefineability 36; // weaken rain, low damage + weaken
	ab_name = "Erosive Field";
	ab_missile_type_fired = 138;
	
	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 4;	
	ab_status_effect = 8;
	ab_status_effect_base = 0;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 225; 
begindefineability 37; // slow rain, low damage + slow
	ab_name = "Temporal Field";
	ab_missile_type_fired = 138;
	
	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 4;	
	ab_status_effect = 1;
	ab_status_effect_base = 0;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 227; 
begindefineability 38; // terror rain, low damage + curse
	ab_name = "Terror Field";
	ab_missile_type_fired = 137;
	
	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 3;	
	ab_status_effect = 7;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 2;
	
	ab_ability_sound = 107; 
begindefineability 39; // acid rain, more damage + acid
	ab_name = "Acid Rain";
	ab_missile_type_fired = 135;
	
	ab_damage_type = 5;
	ab_effect_base = 20;
	ab_effect_per_level = 4;	
	ab_status_effect = 6;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 226;
begindefineability 40; // like fire rainm but energy, used for astoria only
	import = 30;
	ab_name = "Purifying Bolt";
	ab_damage_type = 1;
	ab_effect_base = 30;
	ab_effect_per_level = 12;
	
// THorn/projectile abilities
begindefineability 50;
	import = 4;
	ab_name = "Thorn";
	ab_abil_type = 2;

	ab_missile_type_fired = 11;
	ab_graphic_type = 1;
	ab_impact_sfx_effect = -1;//23;
	ab_number_of_effect = 1;
	ab_random_effect_shift = 1;

	ab_stat_ability_linked_to = 5; 
	ab_stat_for_ability_bonus = 1;

	ab_damage_type = 0;
	ab_effect_type = 0;
	ab_effect_base = 4;
	ab_effect_per_level = 3;
	ab_status_effect = -1;

	ab_missile_short_range = 1;
	ab_ability_sound = 159;
	ab_impact_sound = 8;
	ab_energy_cost = 0;
	ab_essence_cost = 0;
	
begindefineability 52;
	ab_name = "Venom Thorn";

	ab_impact_sfx_effect = -1;//11;
	ab_impact_sound = 146;

	ab_effect_base = 10;
	ab_effect_per_level = 5;
	
	ab_status_effect = 2;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;

	
begindefineability 54;
	ab_name = "Acid Thorn";

	ab_impact_sfx_effect = -1;//13;

	ab_effect_base = 15;
	ab_effect_per_level = 6;

	ab_status_effect = 6;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 1;
	ab_missile_type_fired = 13;


begindefineability 56;
	ab_name = "Submission Thorn";
	ab_missile_type_fired = 12;

	ab_impact_sound = 206;

	ab_impact_sfx_effect = -1;//17;
	ab_number_of_effect = 8;

	ab_effect_per_level = 7;

	ab_status_effect = 3;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;

	ab_impact_sound = 123;

begindefineability 58;
	ab_name = "Reapers";
	ab_missile_type_fired = 14;

	ab_impact_sfx_effect = -1;//18;

	ab_effect_type = 0;
	ab_effect_base = 20;
	ab_effect_per_level = 12;
	ab_status_effect = -1;

	ab_ability_sound = 129;
	ab_impact_sound = 103;

// Other projectiles
begindefineability 60; // ray damage + poison
	import = 4;
	ab_name = "Decaying Ray";
	ab_abil_type = 3;
	ab_graphic_type = 0;

	ab_missile_type_fired = 36;
	ab_impact_sfx_effect = -1;//3;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 4;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 2;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 1;

	ab_impact_sfx_effect = -1;
	ab_impact_sound = 165;

begindefineability 62;
	ab_name = "Charm Ray";// ray damage + charm

	ab_missile_type_fired = 37;
	ab_impact_sfx_effect = -1;//154;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 5;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;
	
	ab_impact_sound = 128;

begindefineability 64; // ray damage + slow
	ab_name = "Slowing Mist";

	ab_missile_type_fired = 39;
	ab_impact_sfx_effect = -1;//152;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 1;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
	
	ab_impact_sound = 124;
begindefineability 65; // ray damage + curse
	ab_name = "Confusing Mist";

	ab_status_effect = 0;

// Other melee abilities
begindefineability 80;
	import = 0;
	ab_name = "Poison Sting";

	ab_impact_sfx_effect = -1;//3;
	ab_random_effect_shift = 1;

	ab_status_effect = 2;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 1;


begindefineability 81;
	import = 1;
	ab_name = "Acid Bite";

	ab_impact_sfx_effect = -1;//3;
	ab_random_effect_shift = 1;

	ab_status_effect = 6;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 1;

begindefineability 82; // cold damage + slow
	import = 0;
	ab_name = "Icy Touch";

	ab_impact_sfx_effect = -1;//22;
	ab_random_effect_shift = 8;

	ab_effect_type = 0;
	ab_damage_type = 6;
	ab_status_effect = 1;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;

	ab_impact_sound = 118;
	
begindefineability 83; // melee damage + acid
	ab_name = "Rotting Touch";

	ab_impact_sfx_effect = -1;//11;
	ab_random_effect_shift = 8;

	ab_effect_type = 0;
	ab_damage_type = 0;
	ab_status_effect = 6;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 1;

	ab_impact_sound = 177;

begindefineability 84; // melee damage + stun
	ab_name = "Stunning Blow";

	ab_impact_sfx_effect = 10;
	ab_random_effect_shift = 8;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_status_effect = 3;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 1;

	ab_impact_sound = 104;
	
begindefineability 85; // like stun touch, but nastier and with different name
	ab_name = "Radiate Energy";
	ab_graphic_type = 4;

	ab_impact_sfx_effect = 175;
	ab_random_effect_shift = 1;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 40;
	ab_effect_per_level = 6;
	ab_status_effect = 3;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 3;

	ab_ability_sound = 121;
	ab_impact_sound = -1;

begindefineability 86; // touch curse + damage
	ab_name = "Confusing Touch";
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//161;
	ab_random_effect_shift = 12;

	ab_effect_type = 0;
	ab_damage_type = 0;
	ab_effect_base = 4;
	ab_effect_per_level = 4;
	ab_status_effect = 0;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 16;
	ab_impact_sound = 128;
	
begindefineability 87; // touch curse + fear
	ab_name = "Terror Touch";

	ab_impact_sfx_effect = -1;//158;
	ab_random_effect_shift = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 5;
	ab_status_effect = 7;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;

// better blade abilities
begindefineability 90;
	import = 2;
	ab_name = "Broadsword";
	ab_effect_per_level = 5;
begindefineability 91;
	ab_name = "Stunblade";
	ab_status_effect = 3;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
begindefineability 92;
	ab_name = "Venomblade";
	ab_status_effect = 2;
begindefineability 93;
	ab_name = "Oozing Blade";
	ab_status_effect = 6;
begindefineability 94;
	ab_name = "Draining Blade";
	ab_status_effect = 0;


// Begein radaited (non-targeted) abilities
begindefineability 100;
	// imported for radiated abils
	import = 9;
	ab_name = "War Blessing";
	ab_abil_type = 22;
	ab_graphic_type = 2;
	
	ab_impact_sfx_effect = -1;//156;
	ab_number_of_effect = 14;
	
	ab_stat_ability_linked_to = 60; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 25;
	ab_effect_base = 2;
	ab_effect_per_level = 1;	

	ab_range = 5;
	ab_energy_cost = 10;
	ab_essence_cost = 3;
	ab_ability_sound = 100;

begindefineability 101;
	ab_name = "Elemental Aura";
	ab_abil_type = 21;

	ab_impact_sfx_effect = -1;//193;
	ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 68; 
	ab_stat_for_ability_bonus = 11;
	
	ab_effect_type = -1;
	ab_status_effect = 14;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 1;	

	ab_range = 5;
	ab_energy_cost = 130;
	ab_essence_cost = 16;
	ab_ability_sound = 206;
	
begindefineability 110;
	ab_name = "Speed";
	ab_abil_type = 22;
	
	ab_impact_sfx_effect = -1;//191;
	ab_number_of_effect = 8;

	ab_stat_ability_linked_to = 63; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 24;
	ab_effect_base = 2;
	ab_effect_per_level = 1;	
	ab_status_effect = -1;

	ab_range = 5;
	ab_energy_cost = 80;
	ab_essence_cost = 8;
	ab_ability_sound = 101;

begindefineability 120;
	ab_name = "Unlock";
	ab_abil_type = 24;

	ab_impact_sfx_effect = -1;

	ab_stat_ability_linked_to = 53; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = 27;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	

	ab_range = 2;
	ab_energy_cost = 50;
	ab_essence_cost = 5;
	ab_ability_sound = 120;

begindefineability 130;
	ab_name = "Mass Restore";
	ab_abil_type = 22;
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = -1;//178;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 79; 
	ab_stat_for_ability_bonus = 18;

	ab_effect_type = 23;
	ab_effect_base = 40;
	ab_effect_per_level = 20;	

	ab_range = 5;
	ab_energy_cost = 150;
	ab_essence_cost = 20;
	ab_ability_sound = 120;

begindefineability 140;
	ab_name = "Mass Energize";
	ab_abil_type = 22;
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = -1;//179;
	ab_number_of_effect = 1;
	
	ab_stat_ability_linked_to = 65; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 26;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	

	ab_range = 5;
	ab_energy_cost = 120;
	ab_essence_cost = 15;
	ab_ability_sound = 228; 

// other PC abilities
begindefineability 160; // acid distance attack
	import = 3;
	ab_name = "Burning Spray";
	ab_abil_type = 1;
	ab_graphic_type = 3;

	ab_num_of_missiles = 3; // ###this working?

	ab_impact_sfx_effect = 171;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 41; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 5;
	ab_effect_base = 10;
	ab_effect_per_level = 3;

	ab_status_effect = 6;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 177; 
	ab_accuracy_adjust = 60;
	ab_energy_cost = 10;
	ab_essence_cost = 1;
	ab_impact_sound = -1;

begindefineability 161; 
	ab_name = "Venomous Spray";

	ab_damage_type = 4;
	ab_status_effect = 2;
	
begindefineability 162; // acid ae 
	import = 9;
	ab_name = "Acid Shower";
	ab_abil_type = 23;
	ab_graphic_type = 3;
	
	ab_impact_sfx_effect = 171;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 46; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 5;
	ab_effect_base = 10;
	ab_effect_per_level = 3;

	ab_status_effect = 6;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 1;

	ab_range = 8;
	ab_ability_sound = 177;
	ab_energy_cost = 110;
	ab_essence_cost = 8;
	ab_missile_short_range = 1;
	
begindefineability 164; // fire ae
	ab_name = "Aura of Flames";
	ab_graphic_type = 4;

	ab_impact_sfx_effect = 170;

	ab_stat_ability_linked_to = 49; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 2;
	ab_effect_base = 20;
	ab_effect_per_level = 10;
	ab_status_effect = -1;

	ab_missile_short_range = 1;
	ab_ability_sound = 178;
	ab_energy_cost = 200;
	ab_essence_cost = 25;
	
begindefineability 165; // stun ae
	ab_name = "Stunning Aura";
	ab_graphic_type = 1;

	ab_impact_sfx_effect = 17;
	ab_number_of_effect = 8;

	ab_effect_type = -1;
	ab_status_effect = 3;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 3;

	ab_ability_sound = 201;
	
begindefineability 166; // death ray
	import = 3;
	ab_name = "Kill";

	ab_accuracy_adjust = 100;

	ab_missile_type_fired = 4;
	ab_impact_sfx_effect = -1;
	ab_random_effect_shift = 0;

	ab_stat_ability_linked_to = 47; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 40;
	ab_effect_per_level = 10;
	ab_status_effect = -1;

	ab_energy_cost = 100;
	ab_essence_cost = 4;
	ab_ability_sound = 179;
	ab_impact_sound = 206;


begindefineability 168; // daze effect
	import = 9;
	ab_name = "Daze";
	ab_abil_type = 23;
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = -1;//174;
	
	ab_stat_ability_linked_to = 50; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = -1;
	ab_status_effect = 17;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 2;

	ab_ability_sound = 180;
	ab_energy_cost = 12;
	ab_essence_cost = 2;
begindefineability 170; // stronger daze
	ab_name = "Strong Daze";
	ab_abil_type = 23;
	ab_graphic_type = 4;

	ab_impact_sfx_effect = -1;//180;

	ab_stat_ability_linked_to = 57; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = -1;
	ab_status_effect = 17;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 3;

	ab_energy_cost = 60;
	ab_essence_cost = 5;
	ab_ability_sound = 201;
	
begindefineability 172; // ae madness
	ab_name = "Mass Madness";
	
	ab_impact_sfx_effect = 181;

	ab_stat_ability_linked_to = 59; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = 30;
	ab_effect_base = 2;
	ab_effect_per_level = 2;
	
	ab_status_effect = -1;

	ab_ability_sound = 179;
	ab_energy_cost = 200;
	ab_essence_cost = 20;

// NOTE 174-186 ARE AT END

begindefineability 190; // light
	import = 9;
	ab_name = "Light";
	ab_abil_type = 21;
	ab_graphic_type = -1;
	
	//ab_impact_sfx_effect = 151;
	//ab_number_of_effect = 12;

	//ab_stat_ability_linked_to = 61; 
	//ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 21;
	ab_status_effect_base = 20;
	ab_status_effect_per_level = 0;
		
	ab_range = 8;
	ab_ability_sound = 191;

// other new pc spells
begindefineability 191;
	import = 15;
	ab_name = "Charm";

	ab_impact_sfx_effect = -1;//154;
	ab_number_of_effect = 15;
	
	ab_stat_ability_linked_to = 58; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = -1;
	ab_status_effect = 5;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 6;

	ab_ability_sound = 128;
	ab_impact_sound = -1;
	ab_energy_cost = 120;
	ab_essence_cost = 7;
	ab_accuracy_adjust = 120;
begindefineability 192;
	ab_name = "Wrack";

	ab_impact_sfx_effect = -1;//161;
	ab_number_of_effect = 12;

	ab_stat_ability_linked_to = 52; 

	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 3;
	ab_status_effect = 8;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 174; 
	ab_energy_cost = 10;
	ab_essence_cost = 1;
begindefineability 193;
	ab_name = "Essence Shackles";

	ab_impact_sfx_effect = -1;//152;
	ab_number_of_effect = 12;

	ab_stat_ability_linked_to = 56; 
	
	ab_damage_type = 1;
	ab_effect_base = 10;
	ab_effect_per_level = 4;
	ab_status_effect = 1;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 240; 
	ab_energy_cost = 40;
	ab_essence_cost = 5;
	
	
begindefineability 195;
	import = 4;
	ab_name = "Lightning Aura";
	
	ab_missile_type_fired = 1111;
	ab_impact_sfx_effect = 1;
	ab_number_of_effect = 12;
	
	ab_stat_ability_linked_to = 44; 
	ab_stat_for_ability_bonus = 9;
	
	ab_damage_type = 1;
	ab_effect_base = 10;
	ab_effect_per_level = 5;
	ab_status_effect = 20;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 175; 
	ab_impact_sound = 241;
	ab_energy_cost = 70;
	ab_essence_cost = 3;
begindefineability 196;
	ab_name = "Essence Lances";

	ab_missile_type_fired = 1110;

	ab_stat_ability_linked_to = 48; 


	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 20;
	ab_effect_per_level = 8;
	ab_status_effect = 20;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 175;
	ab_impact_sound = 241; 
	ab_energy_cost = 100;
	ab_essence_cost = 10;

begindefineability 197; // unbound one death ray 1
	ab_name = "Unbound Breath";
	
	ab_missile_type_fired = 1112;
	
	ab_status_effect = 6;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 1;

begindefineability 198; // unbound one death ray 2 fear
	ab_status_effect = 7;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 3;
		
// Begein targeted, beneficial abilities
begindefineability 200;
// imported for other targeted, beneficial
	import = 9;
	ab_name = "Heal";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//190;
	ab_number_of_effect = 16;

	ab_stat_ability_linked_to = 70; 
	ab_stat_for_ability_bonus = 18;

	ab_effect_type = 21;
	ab_effect_base = 20;
	ab_effect_per_level = 10;
		
	ab_range = 8;
	ab_energy_cost = 30;
	ab_essence_cost = 4;
	ab_ability_sound = 160;
begindefineability 201;
	ab_name = "Heal Self";
	ab_abil_type = 21;
begindefineability 202;
	ab_name = "Heal Group";
	ab_abil_type = 22;
	ab_range = 5;
	ab_energy_cost = 50;
	ab_essence_cost = 7;
	ab_stat_ability_linked_to = 75; 
	ab_stat_for_ability_bonus = 18;
	ab_effect_per_level = 6;

begindefineability 204;
// imported for other targeted, beneficial
	import = 200;
	ab_name = "Food";
	
	ab_impact_sfx_effect = -1;//190;
	ab_number_of_effect = 6;
	
	ab_effect_base = 5;
	ab_effect_per_level = 1;	

	ab_energy_cost = 0;
	ab_essence_cost = 0;
	ab_ability_sound = 138;
begindefineability 205;
	ab_name = "Bandage";
	ab_ability_sound = 196;

begindefineability 206; // minor 1 pc heal
	import = 200;
	ab_name = "Minor Heal";
	ab_impact_sfx_effect = -1;//190;
	ab_number_of_effect = 12;
	
	ab_stat_ability_linked_to = 73; 
	ab_stat_for_ability_bonus = 18;

	ab_effect_type = 21;
	ab_effect_base = 10;
	ab_effect_per_level = 5;

	ab_energy_cost = 5;
	ab_essence_cost = 2;

begindefineability 207; 
	ab_name = "Major Heal";
	
	ab_impact_sfx_effect = -1;//190;
	ab_number_of_effect = 20;

	ab_stat_ability_linked_to = 77; 
	ab_stat_for_ability_bonus = 18;

	ab_effect_type = 21;
	ab_effect_base = 30;
	ab_effect_per_level = 18;

	ab_energy_cost = 50;
	ab_essence_cost = 6;

begindefineability 210;
	ab_name = "Cure Affliction";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//14;
	ab_number_of_effect = 8;

	ab_stat_ability_linked_to = 71; 
	ab_stat_for_ability_bonus = 18;
	
	ab_effect_type = 22;
	ab_effect_base = 4;
	ab_effect_per_level = 2;	

	ab_energy_cost = 25;
	ab_essence_cost = 1;
	ab_ability_sound = 181;

begindefineability 211;
	ab_name = "Cure Self";
	ab_abil_type = 21;
begindefineability 212;
	ab_name = "Cure Group";
	ab_abil_type = 22;
	ab_range = 5;

begindefineability 213; // remove effects on 1 pc, better cure
	import = 210;
	ab_name = "Banish Affliction";

	ab_impact_sfx_effect = -1;//16;
	ab_number_of_effect = 8;
	
	ab_stat_ability_linked_to = 76; 
	ab_stat_for_ability_bonus = 18;

	ab_effect_type = 32;

	ab_energy_cost = 60;
	ab_essence_cost = 6;
begindefineability 214; // groiup banish affliction
	ab_name = "Cleanse Group";
	ab_abil_type = 22;
	ab_range = 5;

	ab_stat_ability_linked_to = 78; 

	ab_energy_cost = 120;
	ab_essence_cost = 15;

begindefineability 215;
	ab_name = "Haste Other";
	ab_abil_type = 11;
	ab_graphic_type = 1;
	
	ab_impact_sfx_effect = -1;//191;
	ab_number_of_effect = 8;

	ab_stat_ability_linked_to = 51; 
	ab_stat_for_ability_bonus = 18;
	
	ab_effect_type = 24;
	ab_effect_base = 2;
	ab_effect_per_level = 1;	

	ab_range = 8;
	ab_energy_cost = 20;
	ab_essence_cost = 2;
	ab_ability_sound = 101;
begindefineability 216;
	ab_name = "Haste Self";
	ab_abil_type = 21;
begindefineability 217;
	ab_name = "Haste Group";
	ab_abil_type = 22;
	ab_range = 5;

begindefineability 220;
	ab_name = "Restore Essence";
	ab_abil_type = 21;
	ab_graphic_type = 1;
	
	ab_impact_sfx_effect = -1;//5;
	ab_number_of_effect = 10;

	ab_effect_type = 28;
	ab_effect_base = 20;
	ab_effect_per_level = 3;	

	ab_range = 8;
	ab_energy_cost = 0;
	ab_essence_cost = 0;
	ab_ability_sound = 206;

begindefineability 225; // 1 pc shield
	ab_name = "Protection";
	ab_abil_type = 11;
	ab_graphic_type = 1;
	
	ab_impact_sfx_effect = -1;//151;
	ab_number_of_effect = 12;

	ab_stat_ability_linked_to = 61; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 29;
	ab_effect_base = 2;
	ab_effect_per_level = 2;
		
	ab_range = 8;
	ab_ability_sound = 164;
	ab_energy_cost = 10;
	ab_essence_cost = 3;
begindefineability 226;
	ab_name = "Shield Self";
	ab_abil_type = 21;
begindefineability 227;
	ab_name = "Shield Group";
	ab_abil_type = 22;
	ab_range = 5;

begindefineability 230;
	ab_name = "Bless Other";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//156;
	ab_number_of_effect = 12;
	
	ab_effect_type = 25;
	ab_effect_base = 2;
	ab_effect_per_level = 2;

	ab_range = 8;
	ab_ability_sound = 100;
begindefineability 231;
	ab_name = "Bless Self";
	ab_abil_type = 21;
begindefineability 232;
	ab_name = "Bless Group";
	ab_abil_type = 22;
	ab_range = 5;

// WE DO EARLIER EFFECTS HERE

begindefineability 174;
	import = 204;
	ab_name = "Mindshield Aura";
	ab_abil_type = 21;

	ab_impact_sfx_effect = -1;//19;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 51; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = -1;
	ab_status_effect = 9;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 3;

	ab_energy_cost = 15;
	ab_essence_cost = 4;
	ab_ability_sound = 176; 

begindefineability 175;
	import = 204;
	ab_name = "Battle Aura";
	ab_abil_type = 21;

	ab_impact_sfx_effect = -1;//19;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 65; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 10;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 2;

	ab_energy_cost = 80;
	ab_essence_cost = 10;
	ab_ability_sound = 176; 

begindefineability 176;
	ab_name = "Chaotic Essence";
	ab_abil_type = 22;

	ab_impact_sfx_effect = -1;//19;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 65; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 33;
	ab_effect_base = 4;
	ab_effect_per_level = 3;	
	ab_status_effect = -1;

	ab_energy_cost = 80;
	ab_essence_cost = 10;
	ab_ability_sound = 227; 
begindefineability 178; // essence shield, 1 pc
	ab_name = "Essence Shield";
	ab_abil_type = 11;

	ab_stat_ability_linked_to = 62; 
	ab_stat_for_ability_bonus = 11;

	ab_impact_sfx_effect = -1;//20;
	ab_number_of_effect = 10;
	
	ab_effect_type = -1;
	ab_status_effect = 11;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_energy_cost = 0;
	ab_essence_cost = 20;
	ab_ability_sound = 242;
	
begindefineability 180; // essence armor, 1 pc
	ab_name = "Essence Armor";

	ab_impact_sfx_effect = -1;//21;
	ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 67; 
	ab_stat_for_ability_bonus = 11;
	
	ab_effect_type = -1;
	ab_status_effect = 12;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 2;

	ab_energy_cost = 0;
	ab_essence_cost = 60;

begindefineability 182; // Essence Blade, 1 pc
	ab_name = "Essence Blade";

	ab_impact_sfx_effect = -1;//7;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 66; 
	ab_stat_for_ability_bonus = 11;
	
	ab_effect_type = -1;
	ab_status_effect = 16;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 1;

	ab_energy_cost = 0;
	ab_essence_cost = 50;
	ab_ability_sound = 164;

begindefineability 183; // spine shield, party
	ab_name = "Aura of Thorns";
	ab_abil_type = 22;

	ab_graphic_type = 4;
	ab_impact_sfx_effect = -1;//172;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 64; 
	ab_stat_for_ability_bonus = 11;
	
	ab_effect_type = -1;
	ab_status_effect = 18;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 3;

	ab_energy_cost = 100;
	ab_essence_cost = 8;
	ab_ability_sound = 228; 
	
begindefineability 184; // Essence Infusion, 1 pc
	ab_name = "Essence Infusion";
	ab_abil_type = 11;

	ab_graphic_type = 1;
	ab_impact_sfx_effect = -1;//6;
	ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 72; 
	ab_stat_for_ability_bonus = 18;
	
	ab_effect_type = -1;
	ab_status_effect = 15;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 2;

	ab_energy_cost = 0;
	ab_essence_cost = 30;
	ab_ability_sound = 121;
	
begindefineability 185; // regeneration
	ab_name = "Regeneration Aura";
	ab_abil_type = 21;

	ab_impact_sfx_effect = -1;//192;
	ab_number_of_effect = 15;
	
	ab_stat_ability_linked_to = 74; 
	ab_stat_for_ability_bonus = 18;
	
	ab_effect_type = -1;
	ab_status_effect = 19;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 2;

	ab_energy_cost = 40;
	ab_essence_cost = 5;
	ab_ability_sound = 147;

begindefineability 186; // major combat buff, ae
	ab_name = "Battle Roar";
	ab_abil_type = 22;
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = -1;//177;
	ab_number_of_effect = 1;
	
	ab_stat_ability_linked_to = 69; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 31;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	
	ab_status_effect = -1;

	ab_energy_cost = 150;
	ab_essence_cost = 20;
begindefineability 187; // as above, just for user
	ab_name = "Berserker";
	ab_abil_type = 21;

	
// OBJECT TYPES
begindefineobject 0;
	// imported to get null item
	
begindefineobject 1;
// imported for 128x64 boxes
	ob_object_type = 11;
	ob_name = "Box";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 5;
	ob_num_anim_steps = 1;	
	ob_which_icon_destroyed = 5;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 128;	
	ob_height = 64;	
	ob_blockage_type = 2;	
	ob_can_target = 1;
	ob_start_health = 10000;
	ob_default_script = "box";

begindefineobject 2;
// imported for 64x128 boxes
	ob_base_icon_num = 7;
	ob_width = 64;	
	ob_height = 128;
	
begindefineobject 3; // lockers
// imported for 128x128 boxes
	import = 1;
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_width = 128;	
	ob_height = 128;	
begindefineobject 4;
	import = 2;
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 2;
	ob_width = 128;	
	ob_height = 128;	
		
begindefineobject 5;
// imported for potentially usable, non-destroyable 64x64 items
	import = 0;
	ob_object_type = 11;
	ob_name = "Odd Box";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 3;
	ob_blockage_type = 2;	
	ob_default_script = "box";

begindefineobject 6;
	import = 2;
	ob_name = "Blue Box";
	ob_graphic_template = 33;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 12;
	
begindefineobject 7;
// imported for potentially usable, non-destroyable 128x128 items
	import = 0;
	ob_object_type = 11;
	ob_name = "Sacks";
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 5;
	ob_width = 128;	
	ob_height = 128;	
	ob_blockage_type = 2;	

begindefineobject 8;
	// imported for 64x64 usable items.
	ob_object_type = 11;
	ob_name = "Clay Jar";
	ob_graphic_template = 30;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 64;	
	ob_height = 64;	
	ob_blockage_type = 2;	
	ob_can_target = 1;
	ob_start_health = 40;
	ob_effect_when_slain = 1;

begindefineobject 9;
// imported for never usable, non-destroyable 64x64 items
	import = 0;
	ob_object_type = 2;
	ob_name = "Pot";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 7;
	ob_blockage_type = 2;	
	ob_block_move_when_destroyed = 0;
	
begindefineobject 10;
	import = 7;
	ob_name = "Obelisk";
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 2;	
	ob_default_script = "talkobj";

begindefineobject 11;
	import = 5;
	ob_name = "Sign";
	ob_graphic_template = 30;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 1;
	ob_default_script = "talkobj";

begindefineobject 12;
	// imported for other chairs
	import = 9;
	ob_name = "Chair";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 13;	
	ob_block_move_when_destroyed = 1;
begindefineobject 13;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 14;	
begindefineobject 14;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 15;	
begindefineobject 15;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 16;	
begindefineobject 16;
	import = 9;
	ob_name = "Chair";
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;	
	ob_block_move_when_destroyed = 1;
begindefineobject 17;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;	
begindefineobject 18;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;	
begindefineobject 19;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;	

begindefineobject 20;
// imported for never usable, non-destroyable 128x128 items
	import = 7;
	ob_object_type = 1;
	ob_name = "Art";
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 3;
	
begindefineobject 21;
	import = 1;
	ob_name = "Case";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 9;
	ob_default_script = "box";
begindefineobject 22;
	import = 2;
	ob_name = "Case";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 11;
	ob_default_script = "box";

begindefineobject 23;
	import = 7;
	ob_name = "Altar";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 0;
begindefineobject 24;
	ob_base_icon_num = 2;

begindefineobject 25;
	import = 9;
	ob_name = "Nice Brazier";
	ob_graphic_template = 49;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 1;
	ob_num_anim_steps = 6;	
	ob_object_trait = 1;
	//ob_light_level = 8;
	ob_anim_in_reverse = 1;
	ob_which_icon_destroyed = 0;	
	ob_block_move_when_destroyed = 1;
	ob_glow_type = 2;
	ob_glow_trans = 30;
	
begindefineobject 26;
	import = 9;
	ob_name = "Brazier";
	ob_graphic_template = 49;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 1;
	ob_num_anim_steps = 6;	
	ob_object_trait = 1;
	//ob_light_level = 8;
	ob_anim_in_reverse = 1;
	ob_which_icon_destroyed = 0;	
	ob_block_move_when_destroyed = 1;
	ob_glow_type = 2;
	ob_glow_trans = 30;


begindefineobject 29;
	import = 7;
	ob_name = "Vat";
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 8;	
	ob_block_move_when_destroyed = 1;
begindefineobject 30;
	ob_base_icon_num = 5;
	ob_num_anim_steps = 2;	
	ob_object_trait = 1;
begindefineobject 31;
	ob_name = "Oven";
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;
	ob_num_anim_steps = 1;	
	ob_block_move_when_destroyed = 1;
	ob_object_trait = 0;
	ob_glow_type = 2;
	
begindefineobject 32;
	import = 9;
	ob_name = "Glow Crystal";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 13;		
	ob_default_script = "lightstand";
	ob_object_trait = 2;
	
begindefineobject 33;
	import = 9;
	ob_name = "Light Stand";
	ob_graphic_template = 30;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;		
	ob_default_script = "glowcryst";
	ob_object_trait = 2;
	
begindefineobject 34;
	import = 7;
	ob_name = "Sarcophagus";
	ob_graphic_template = 28;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 4;	
	ob_height = 256;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -8;
begindefineobject 35;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 5;	
	ob_width = 256;
	ob_height = 128;
	
begindefineobject 36;
// imported for othe r book
	import = 5;
	ob_name = "Book Stand";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 9;		
	ob_default_script = "talkobj";
	ob_block_move_when_destroyed = 1;
begindefineobject 37;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 1;

begindefineobject 38;
	import = 8;
	ob_name = "Control Pedestal";
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 13;
	ob_which_icon_destroyed = 19;	
	
begindefineobject 39;
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 8;


begindefineobject 40;
	import = 9;
	ob_name = "Thorn Bush";
	ob_object_type = 11;
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 7;
	ob_default_script = "thornb";

begindefineobject 41;
	import = 7;
	ob_name = "Nest";	
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 4;

begindefineobject 42;
	import = 9;
	ob_name = "Potted Plant";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 14;
	ob_block_move_when_destroyed = 1;
begindefineobject 43;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 15;

begindefineobject 44;
	import = 7;
	ob_name = "Body";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 10;
begindefineobject 45;
	ob_base_icon_num = 11;
begindefineobject 46;
	ob_base_icon_num = 12;
begindefineobject 47;
	ob_base_icon_num = 1;

begindefineobject 48;
	import = 9;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 14;
begindefineobject 49;
	ob_base_icon_num = 15;

begindefineobject 50;
// import for doors
	ob_object_type = 2;
	ob_name = "Door";
	ob_graphic_template = 32;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 1;	
	ob_which_icon_destroyed = 2;	
	ob_num_anim_steps_destroyed = 1;
//	ob_size = 256;	
	ob_blockage_type = 3;	
	ob_can_target = 0;
	ob_start_health = 10000;
	ob_width = 256;	
	ob_height = 128;	
	ob_default_script = "door";

begindefineobject 51;
// import for open doors
	//ob_name = "Open Door";
	ob_base_icon_num = 2;
	ob_blockage_type = 0;
	ob_default_script = "";

begindefineobject 52;
	import = 50;
	ob_width = 128;	
	ob_height = 256;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;	

begindefineobject 53;
	import = 51;
	ob_width = 128;	
	ob_height = 256;	
	ob_base_icon_num = 3;

begindefineobject 54;
	import = 50;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 6;	
begindefineobject 55;
	import = 51;
	ob_base_icon_num = 6;
begindefineobject 56;
	import = 52;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 7;	
begindefineobject 57;
	import = 53;
	ob_base_icon_num = 7;

begindefineobject 58;
	// imported for other pools
	ob_object_type = 2;
	ob_name = "Healing Pool";
	ob_graphic_template = 31;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 4;	
	ob_which_icon_destroyed = 8;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 256;	
	ob_height = 256;	
	ob_blockage_type = 2;	
	ob_can_target = 0;
	ob_default_script = "healpool";
	ob_start_health = 10000;
	ob_block_move_when_destroyed = 1;
	ob_object_trait = 13;
	ob_glow_type = 2;
	ob_glow_trans = 30;
begindefineobject 59;
	ob_object_type = 2;
	ob_name = "Essence Pool";
	ob_base_icon_num = 4;
	ob_default_script = "energypool";

begindefineobject 60;
	import = 5;
	ob_name = "Canister";
	ob_graphic_template = 30;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 5;
	ob_num_anim_steps = 4;	
	ob_which_icon_destroyed = 9;
	ob_default_script = "canister";
	ob_effect_when_slain = -1;
	ob_object_trait = 10;
	ob_glow_type = 0;
	ob_glow_trans = 60;

begindefineobject 61;
	import = 8;
	ob_name = "Lever";
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 10;
	ob_can_target = 1;
	ob_default_script = "doorlever";
begindefineobject 62;
	ob_name = "Locked Lever";
	ob_base_icon_num = 12;
begindefineobject 63;
	ob_name = "Spore Switch";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 5;
	ob_default_script = "sporebox";
	
begindefineobject 64;
	import = 7;
	ob_object_type = 12;
	ob_name = "Power Spiral";
	ob_graphic_template = 46;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 4;
	ob_which_icon_destroyed = 4;	
	ob_effect_when_slain = 1;
	ob_default_script = "powrspiral";
	ob_object_trait = 8;
	ob_glow_type = 2;
	
begindefineobject 65;
	import = 11;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 16;

begindefineobject 66; // beds
	// beds imported fo rbeds later
	import = 9;
	ob_name = "Bed";
	ob_graphic_template = 31;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;
	ob_width = 128;	
	ob_height = 192;	
	ob_in_space_offset_x = 12;
	ob_in_space_offset_y = -8;
	ob_block_move_when_destroyed = 1;
begindefineobject 67;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 8;
	ob_width = 192;	
	ob_height = 128;	
	ob_in_space_offset_x = -12;
	ob_in_space_offset_y = -8;

begindefineobject 68; // beds
	import = 66;
	ob_graphic_template = 31;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = 6;
	ob_in_space_offset_y = -2;
	//ob_in_space_offset_x = -6;
	//ob_in_space_offset_y = 6;
	ob_block_move_when_destroyed = 1;
begindefineobject 69;
	import = 67;
	ob_graphic_template = 31;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = -6;
	ob_in_space_offset_y = -2;
	//ob_in_space_offset_x = 6;
	//ob_in_space_offset_y = 6;	
	
begindefineobject 70;
// Import for all 256x64 north wall items, with destroyed poses
	import = 9;
	ob_name = "Jars";
	ob_graphic_template = 28;
	ob_graphic_sheet = 4;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;
	ob_width = 256;	
	ob_height = 64;	
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -6;
	
begindefineobject 71;
// Import for all 64x256 west wall items, with destroyed poses
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;
	ob_width = 64;	
	ob_height = 256;	
	ob_in_space_offset_y = -6;
	
begindefineobject 72;
	import = 70;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;
begindefineobject 73;
	import = 71;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;
	
begindefineobject 74;
	import = 70;
	ob_name = "Shelves";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;
begindefineobject 75;
	import = 71;
	ob_name = "Shelves";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;

begindefineobject 76;
	import = 70;
	ob_name = "Shelves";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;
begindefineobject 77;
	import = 71;
	ob_name = "Shelves";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;

begindefineobject 78;
	import = 70;
	ob_name = "Sacks";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;
begindefineobject 79;
	import = 71;
	ob_name = "Sacks";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;

begindefineobject 80;
	import = 70;
	ob_name = "Curtain";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;
	ob_in_space_offset_y = -21;
begindefineobject 81;
	import = 71;
	ob_name = "Curtain";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;
	ob_in_space_offset_y = -21;

begindefineobject 82;
	import = 70;
	ob_name = "Wall Pegs";
	ob_graphic_sheet = 7;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = 16;
	ob_in_space_offset_y = -25;
begindefineobject 83;
	import = 71;
	ob_name = "Wall Pegs";
	ob_graphic_sheet = 7;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = -16;
	ob_in_space_offset_y = -25;

begindefineobject 84;
	import = 70;
	ob_name = "Fence";
	ob_graphic_template = 35;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_x = 24;
	ob_in_space_offset_y = -6;
begindefineobject 85;
	import = 71;
	ob_name = "Fence";
	ob_graphic_template = 35;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_x = -24;
	ob_in_space_offset_y = -6;

begindefineobject 86;
	import = 70;
	ob_name = "Scroll Rack";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 8;
begindefineobject 87;
	import = 71;
	ob_name = "Scroll Rack";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 9;

begindefineobject 88;
	import = 70;
	ob_name = "Meat on Hooks";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 8;
	ob_in_space_offset_y = -22;
begindefineobject 89;
	import = 71;
	ob_name = "Meat on Hooks";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 9;
	ob_in_space_offset_y = -22;

begindefineobject 90;
	import = 80;
	ob_graphic_sheet = 8;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;
	ob_in_space_offset_y = -20;
begindefineobject 91;
	import = 81;
	ob_graphic_sheet = 8;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 9;
	ob_in_space_offset_y = -20;
begindefineobject 92;
	import = 82;
	ob_name = "Shelves";
	ob_graphic_sheet = 4;
	ob_base_icon_num = 8;
	ob_in_space_offset_y = -15;
begindefineobject 93;
	import = 83;
	ob_name = "Shelves";
	ob_graphic_sheet = 4;
	ob_base_icon_num = 9;
	ob_in_space_offset_y = -15;
begindefineobject 94;
	import = 82;
	ob_name = "Shelves";
	ob_graphic_sheet = 3;
	ob_base_icon_num = 6;
	ob_in_space_offset_y = -15;
begindefineobject 95;
	import = 83;
	ob_name = "Shelves";
	ob_graphic_sheet = 3;
	ob_base_icon_num = 7;
	ob_in_space_offset_y = -15;

//begindefineobject 91;
	// exactly like previous mine, but red
//	import = 40;
//	ob_graphic_coloradj = 272;

//begindefineobject 93;
	// boxmine that goes boom
//	import = 0;
//	ob_object_type = 13;
//	ob_name = "Box Mine";
//	ob_graphic_template = 33;
//	ob_graphic_sheet = 4;	
//	ob_base_icon_num = 8;
//	ob_num_anim_steps = 1;	
//	ob_which_icon_destroyed = 10;	
//	ob_num_anim_steps_destroyed = 1;
//	ob_width = 64;	
//	ob_height = 64;	
//	ob_blockage_type = 2;	
//	ob_start_health = 10000;
//	ob_default_script = "boxmine";	
//	ob_graphic_coloradj = 4;
//begindefineobject 94;
	// red boxmine that spawns a monst
//	ob_name = "Monst Box Mine";
//	ob_graphic_coloradj = 1;
//	ob_default_script = "boxmine2";	
//begindefineobject 95;
	// red boxmine that goes boom
//	ob_name = "Red Box Mine";
//	ob_graphic_coloradj = 0;
//	ob_default_script = "boxmine";	


begindefineobject 96;
	import = 9;
	ob_name = "Stone Post";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 0;

begindefineobject 97; // pylon
	import = 7;
	ob_name = "Pylon";
	ob_graphic_template = 28;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 5;
	ob_default_script = "talkobj";	
	ob_in_space_offset_y = -8;

begindefineobject 98;
	import = 7;
	ob_name = "Enchanted Anvil";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
	
begindefineobject 99;
	// basic mine that goes boom when pc getsclose, but can be disarmed
	import = 0;
	ob_object_type = 3;
	ob_name = "Green Egg";
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 14;
	ob_num_anim_steps = 1;	
	ob_which_icon_destroyed = 15;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 64;	
	ob_height = 64;	
	ob_blockage_type = 2;	
//	ob_default_script = "boxmine";	
	
	
begindefineobject 100; // Alarm Crystal
	// imported for other crystal
	import = 9;
	ob_object_type = 3;
	ob_name = "Alarm Crystal";
	ob_graphic_template = 30;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 2;
	ob_blockage_type = 2;	
	ob_which_icon_destroyed = 3;	
	ob_block_move_when_destroyed = 0;
	ob_default_script = "alarm";	
	ob_effect_when_slain = -1;
	ob_object_trait = 12;
	ob_glow_type = 7;
	ob_glow_trans = 30;
	ob_glow_trans = 100;
	
begindefineobject 101; // heal crystal
	// crystal that heals
	import = 8;
	ob_name = "Healing Crystal";
	ob_graphic_template = 30;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;	
	ob_block_move_when_destroyed = 0;
	ob_can_target = 1;
	ob_start_health = 10;
	ob_default_script = "healcryst";
	ob_effect_when_slain = -1;
begindefineobject 102; // power crystal
	// crystal that restores energy
	ob_name = "Energy Crystal";
	ob_default_script = "energycr";
	ob_graphic_coloradj = 2;
begindefineobject 103; // red crystal
	// red crystal that restores energy
	ob_graphic_coloradj = 1;

begindefineobject 104;
	import = 9;
	ob_name = "Basket";
	ob_graphic_template = 33;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 15;
	ob_which_icon_destroyed = 14;	
	ob_block_move_when_destroyed = 1;
begindefineobject 105;
	ob_base_icon_num = 16;
	
//begindefineobject 106; // Crystal used to trip chains of mines.
//	import = 100;
//	ob_name = "Glowing Crystal";
//	ob_object_type = 13;
//	ob_graphic_coloradj = 2;

//begindefineobject 107;
// Special mine. Script runs both when party gets close and every second. Used for 
// mine tripping crystals.
//	import = 40;
//	ob_object_type = 3;

begindefineobject 106;
	import = 7;
	ob_name = "Desk";
	ob_graphic_template = 28;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 4;
begindefineobject 107;
	ob_base_icon_num = 6;

begindefineobject 108;
	import = 0;
	ob_object_type = 2;
	ob_name = "Sear Floor";
	ob_graphic_template = 35;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 2;
	ob_num_anim_steps = 3;	
	ob_which_icon_destroyed = 7;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 256;	
	ob_height = 256;	
	ob_blockage_type = 0;	
	ob_can_target = 0;
	ob_default_script = "searfloor";
	ob_object_trait = 7;

begindefineobject 109;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 5;
	ob_num_anim_steps = 3;	
	ob_default_script = "";
	ob_object_trait = 0;

begindefineobject 110;
	import = 7;
	ob_name = "Machinery";
	ob_graphic_template = 28;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 0;
	
	
begindefineobject 111;
	import = 9;
	ob_object_type = 2;
	ob_name = "Warning Crystal";
	ob_graphic_template = 30;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 3;	
	ob_blockage_type = 2;	
	ob_default_script = "warncryst";

begindefineobject 112; // Crystal Jar
	import = 20;
	ob_object_type = 1;
	ob_name = "Crystal Jar";
	ob_graphic_template = 28;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 4;
begindefineobject 113; // Crystal Jar usable
	ob_object_type = 12;
	ob_name = "Usable Jar";
	
begindefineobject 114; // red pool
	import = 58;
	// imported for other pools
	ob_name = "Muck Pool";
	ob_graphic_template = 31;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;	
	ob_num_anim_steps_destroyed = 1;
	ob_default_script = "harmpool";
	ob_effect_when_slain = 1;
	ob_block_move_when_destroyed = 1;
	ob_object_trait = 7;
begindefineobject 115; // Geneforge
	ob_object_type = 12;
	ob_name = "Geneforge";
	ob_graphic_coloradj = 2;
	ob_object_trait = 0;

begindefineobject 116; // red pool, not animated, usable
	import = 114;
	// imported for other pools
	ob_object_type = 12;
	ob_num_anim_steps = 1;	
	
begindefineobject 117;
	import = 7;
	ob_name = "Barrel";
	ob_object_type = 11;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -10;

begindefineobject 118; 
	import = 3;
	ob_name = "Crate";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 9;
	ob_block_move_when_destroyed = 1;

begindefineobject 119;
	import = 9;
	ob_name = "Fruit Basket";
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 2;	
	ob_block_move_when_destroyed = 1;	

begindefineobject 120;
	import = 0;
	ob_name = "Door 1 N";
	ob_object_type = 11;
	ob_graphic_template = 20;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 1;
	ob_width = 128;	
	ob_height = 128;	
	ob_blockage_type = 3;	
	ob_in_space_offset_x = -9;
	ob_in_space_offset_y = 15;
	ob_default_script = "swingdoor";
	ob_part_of_terrain = 1;
begindefineobject 121;
	ob_name = "Door 1 W";
	ob_base_icon_num = 0;
	ob_in_space_offset_x = 12;
	ob_in_space_offset_y = 16;
begindefineobject 122;
	ob_name = "Door 1 S";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 1;
	ob_in_space_offset_x = 12;
	ob_in_space_offset_y = 7;
begindefineobject 123;
	ob_name = "Door 1 E";
	ob_base_icon_num = 0;
	ob_in_space_offset_x = -9;
	ob_in_space_offset_y = 9;
begindefineobject 124;
	import = 120;
	ob_name = "Door 2 N";
begindefineobject 125;
	import = 121;
	ob_name = "Door 2 W";
begindefineobject 126;
	import = 122;
	ob_name = "Door 2 S";
begindefineobject 127;
	import = 123;
	ob_name = "Door 2 E";

begindefineobject 128;
	// imported for other mines
	// this is basic mine trigger, blows when anything gets close, normal color
	ob_object_type = 4;
	ob_name = "Green Trigger";
	ob_graphic_template = 49;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 4;	
	ob_anim_in_reverse = 1;
	ob_which_icon_destroyed = 4;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 64;	
	ob_height = 64;	
	ob_blockage_type = 2;	
	//ob_effect_when_slain = 1;
	ob_default_script = "minetrig";
	ob_in_space_offset_x = 0;
	ob_in_space_offset_y = 0;
	ob_glow_type = 0;
	
begindefineobject 129;
	ob_name = "Red Trigger";
	ob_graphic_coloradj	= 4; 
// mines that are set off by triggers
begindefineobject 130;
	ob_object_type = 11;
	ob_name = "Puffball";
	ob_graphic_sheet = 3;	
	ob_default_script = "chainmine";
	ob_glow_type = -1;
	
begindefineobject 131;
	ob_name = "Alt Puffball";
	ob_graphic_coloradj	= 4; 
begindefineobject 132;
	ob_name = "Crystal Shell";
	ob_graphic_sheet = 4;	
begindefineobject 133;
	ob_name = "Alt Shell";
	ob_graphic_coloradj	= 4; 
begindefineobject 134;
	ob_name = "Spinning Egg";
	ob_graphic_sheet = 5;	
begindefineobject 135;
	ob_name = "Alt Egg";
	ob_graphic_coloradj	= 4; 
begindefineobject 136; // we change the object type here to use box mine for other mine types
	ob_name = "Box Mine";
	ob_object_type = 13;
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 8;
	ob_num_anim_steps = 1;	
	ob_which_icon_destroyed = 10;	
	ob_num_anim_steps_destroyed = 1;
	ob_graphic_coloradj	= 4; 
begindefineobject 137;
	ob_name = "Alt Box Mine";
	ob_graphic_coloradj	= 0; 
begindefineobject 138;
	import = 7;
	ob_object_type = 13;
	ob_name = "Sealed Vat";
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_which_icon_destroyed = 1;	
	ob_base_icon_num = 0;
	ob_block_move_when_destroyed = 1;	
	ob_default_script = "chainmine";


begindefineobject 139;
	import = 20;
	ob_name = "Bale of Hay";
	ob_graphic_template = 31;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 4;
begindefineobject 140;
	ob_base_icon_num = 5;

begindefineobject 141;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_object_type = 1;
	ob_base_icon_num = 4;
begindefineobject 142;
	ob_base_icon_num = 5;

begindefineobject 143; // a host of chairs
	import = 12;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 10;
begindefineobject 144;
	ob_base_icon_num = 11;
begindefineobject 145;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 0;
begindefineobject 146;
	ob_base_icon_num = 1;
begindefineobject 147;
	ob_base_icon_num = 2;
begindefineobject 148;
	ob_base_icon_num = 3;
begindefineobject 149;
	ob_base_icon_num = 4;
begindefineobject 150;
	ob_base_icon_num = 5;
begindefineobject 151;
	ob_base_icon_num = 6;
begindefineobject 152;
	ob_base_icon_num = 7;
begindefineobject 153;
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 12;
begindefineobject 154;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 13;
begindefineobject 155;
	ob_base_icon_num = 10;
	ob_which_icon_destroyed = 14;
begindefineobject 156;
	ob_base_icon_num = 11;
	ob_which_icon_destroyed = 15;

begindefineobject 157; // boxes
	import = 1;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 6;
begindefineobject 158;
	import = 2;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 8;
begindefineobject 159;
	import = 157;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 0;
begindefineobject 160;
	import = 158;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 2;
begindefineobject 161;
	import = 159;
	ob_base_icon_num = 4;
begindefineobject 162;
	import = 160;
	ob_base_icon_num = 6;
begindefineobject 163;
	import = 159;
	ob_base_icon_num = 8;
begindefineobject 164;
	import = 160;
	ob_base_icon_num = 10;

begindefineobject 165;
	import = 7;
	ob_name = "Pot";
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 9;
begindefineobject 166;
	ob_name = "Skulls";
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 5;
begindefineobject 167;
	import = 9;
	ob_name = "Anvil";
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 0;
	ob_width = 128;	
	ob_height = 128;	

// two crystal formations, both are usable
begindefineobject 168;
	import = 7;
	ob_name = "Crystal Formation";
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 4;
	ob_graphic_appearadj = 2;
begindefineobject 169;
	ob_name = "Red Crystals";
	ob_graphic_appearadj = 4;
	ob_graphic_coloradj	= 17; 

begindefineobject 170;
	// a 128 x 128 mine, used for alarms and fences
	import = 128;
	ob_name = "Mine Pylon";
	ob_width = 128;	
	ob_height = 128;	
	ob_graphic_template = 46;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 2;
	ob_num_anim_steps = 4;	
	ob_anim_in_reverse = 1;
	ob_which_icon_destroyed = 6;
	ob_num_anim_steps_destroyed = 1;
	ob_default_script = "fieldpylon";
	
// inert crystal formations
begindefineobject 171;
	import = 20;
	ob_name = "Crystal Formation";
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 4;
	ob_graphic_appearadj = 2;

begindefineobject 172;
	import = 9;
	ob_name = "Stone Post";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 16;	
	
// bushes/plants
begindefineobject 173;
	import = 9;
	ob_name = "Megaplant1";	
	ob_graphic_template = 49;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 3;
	ob_block_move_when_destroyed = 0;
begindefineobject 174;
	ob_name = "Megaplant2";	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 4;
begindefineobject 175;
	ob_name = "Bush";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 11;
begindefineobject 176;
	ob_base_icon_num = 12;
begindefineobject 177;
	ob_base_icon_num = 13;
begindefineobject 178;
	ob_base_icon_num = 14;
begindefineobject 179;
	ob_base_icon_num = 15;

begindefineobject 180;
	import = 20;
	ob_graphic_template = 28;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 1;
	ob_num_anim_steps = 4;	

begindefineobject 181;
	import = 7;
	ob_name = "Machinery";
	ob_object_type = 12;
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
begindefineobject 182;
	ob_base_icon_num = 1;

begindefineobject 183;
	import = 20;
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 2;

begindefineobject 184;
	import = 9;
	ob_name = "Acid Puffer";
	ob_object_type = 12;
	ob_graphic_template = 30;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 5;		
	ob_default_script = "acidstand";
begindefineobject 185;
	ob_graphic_coloradj	= 1;

begindefineobject 186;
	import = 9;
	ob_name = "Sensor";
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 2;

begindefineobject 187;
	import = 9;
	ob_name = "Amphora";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 2;

begindefineobject 188;
	import = 20;
	ob_name = "Trough";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 6;
begindefineobject 189;
	ob_base_icon_num = 7;
	
// lights
begindefineobject 190;
	import = 9;
	ob_object_type = 2;
	ob_name = "Lamp";
	ob_graphic_template = 33;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 2;
	ob_light_level = 6;
	ob_in_space_offset_y = -30;
	ob_glow_type = 7;
	ob_glow_trans = 80;
	ob_glow_offset = 12;
begindefineobject 191;
	ob_base_icon_num = 3;
begindefineobject 192;
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 4;
	ob_in_space_offset_y = 0;
	ob_glow_trans = 50;
	ob_glow_offset = 24;
begindefineobject 193;
	ob_base_icon_num = 5;
begindefineobject 194;
	ob_base_icon_num = 6;
begindefineobject 195;
	ob_graphic_template = 33;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 3;	
	ob_in_space_offset_y = -30;
	ob_glow_trans = 80;
	ob_glow_offset = 12;
begindefineobject 196;
	ob_base_icon_num = 3;
	
begindefineobject 197;
	import = 9;
	ob_name = "Totem";
	ob_graphic_template = 33;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 4;
begindefineobject 198;
	ob_base_icon_num = 5;
begindefineobject 199;
	ob_base_icon_num = 6;

begindefineobject 200;
	import = 9;
	ob_name = "Pot of coals";
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 12;

begindefineobject 201; // big wall ters
	// imported for other big wall ters
	import = 70;
	ob_name = "Shelves";
	ob_graphic_template = 48;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = 12;
	ob_in_space_offset_y = 6;
begindefineobject 202;
	import = 71;
	ob_name = "Shelves";
	ob_graphic_template = 48;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = -12;
	ob_in_space_offset_y = 6;
begindefineobject 203;
	import = 201;
	ob_graphic_sheet = 1;	
begindefineobject 204;
	import = 202;
	ob_graphic_sheet = 1;	
begindefineobject 205;
	import = 201;
	ob_name = "Bookshelves";
	ob_graphic_sheet = 2;	
begindefineobject 206;
	import = 202;
	ob_name = "Bookshelves";
	ob_graphic_sheet = 2;	
begindefineobject 207;
	import = 201;
	ob_name = "Bench";
	ob_graphic_sheet = 3;	
	ob_in_space_offset_x = -10;
	ob_in_space_offset_y = 10;
begindefineobject 208;
	import = 202;
	ob_name = "Bench";
	ob_graphic_sheet = 3;	
	ob_in_space_offset_x = 10;
	ob_in_space_offset_y = 10;
begindefineobject 209;
	import = 201;
	ob_name = "Bench";
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 2;
	ob_in_space_offset_x = -10;
	ob_in_space_offset_y = 10;
begindefineobject 210;
	import = 202;
	ob_name = "Bench";
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 3;
	ob_in_space_offset_x = 10;
	ob_in_space_offset_y = 10;
begindefineobject 211;
	import = 201;
	ob_name = "Weapon Rack";
	ob_graphic_sheet = 4;	
begindefineobject 212;
	import = 202;
	ob_name = "Weapon Rack";
	ob_graphic_sheet = 4;	
begindefineobject 213;
	import = 201;
	ob_name = "Wall Hanging";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 2;
	ob_in_space_offset_x = 12;
	ob_in_space_offset_y = -2;
begindefineobject 214;
	import = 202;
	ob_name = "Wall Hanging";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 3;
	ob_in_space_offset_x = -12;
	ob_in_space_offset_y = -2;
begindefineobject 215;
	import = 201;
	ob_name = "Wall Hanging";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 4;
	ob_in_space_offset_x = 16;
	ob_in_space_offset_y = 4;
begindefineobject 216;
	import = 202;
	ob_name = "Wall Hanging";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 5;
	ob_in_space_offset_x = -16;
	ob_in_space_offset_y = 4;
begindefineobject 217;
	import = 201;
	ob_name = "Shelves";
	ob_width = 256;	
	ob_height = 128;	
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
begindefineobject 218;
	import = 202;
	ob_name = "Shelves";
	ob_width = 128;	
	ob_height = 256;	
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
begindefineobject 219;
	import = 217;
	ob_name = "Shelves";
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 0;
begindefineobject 220;
	import = 218;
	ob_name = "Shelves";
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 1;
begindefineobject 221;
	import = 217;
	ob_name = "Kitchen/FP";
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = 17;
	ob_in_space_offset_y = -14;
begindefineobject 222;
	import = 218;
	ob_name = "Kitchen/FP";
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = -17;
	ob_in_space_offset_y = -14;


begindefineobject 223;
	import = 7;
	ob_name = "Trap";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 8;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 8;
	ob_block_move_when_destroyed = 0;
	ob_width = 256;	
	ob_height = 256;	
	ob_default_script = "floortrap";
	ob_in_space_offset_y = -12;
begindefineobject 224;
	ob_graphic_coloradj = 256;
begindefineobject 225;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 10;
	ob_graphic_coloradj = 0;
begindefineobject 226;
	ob_base_icon_num = 11;
	ob_which_icon_destroyed = 12;

begindefineobject 227;
	// this is basic mine, blows when anything gets close, normal color
	import = 0;
	ob_object_type = 4;
	ob_name = "Mine";
	ob_graphic_template = 30;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 3;	
	ob_which_icon_destroyed = 3;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 64;	
	ob_height = 64;	
	ob_blockage_type = 0;	
	ob_can_target = 0;
	ob_start_health = 10000;
	ob_effect_when_slain = 1;
	ob_default_script = "mine";
	ob_graphic_coloradj = 2;
begindefineobject 228;
	ob_name = "Green Mine";
	ob_graphic_coloradj = 0;
begindefineobject 229;
	ob_name = "Red Mine";
	ob_graphic_coloradj = 4;
	
begindefineobject 230;
	import = 7;
	ob_name = "Pit";	
	ob_width = 256;	
	ob_height = 256;	
	ob_graphic_template = 35;
	ob_graphic_sheet = 5;
	ob_base_icon_num = 2;
	ob_default_script = "stairs";
begindefineobject 231;
	ob_name = "Trapdoor";	
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;
	ob_base_icon_num = 7;
	ob_in_space_offset_y = -12;
begindefineobject 232;
	ob_name = "Ladder";	
	ob_graphic_template = 29;
	ob_graphic_sheet = 0;
	ob_base_icon_num = 0;
	ob_in_space_offset_y = 0;
begindefineobject 233;
	ob_name = "Boat";	
	ob_graphic_template = 27;
	ob_graphic_sheet = 1;
	ob_base_icon_num = 3;
	ob_default_script = "boat";
begindefineobject 234;
	ob_graphic_template = 27;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 3;
begindefineobject 235;
	ob_name = "Stairs";	
	ob_graphic_template = 26;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 2;
	ob_default_script = "stairs";
begindefineobject 236;
	ob_graphic_template = 27;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 4;
begindefineobject 237;
	ob_graphic_template = 32;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 0;
begindefineobject 238;
	ob_graphic_template = 32;
	ob_graphic_sheet = 4;
	ob_base_icon_num = 0;

begindefineobject 239;
	import = 182;
	ob_name = "Pacification Pylon";
	ob_graphic_template = 29;
	ob_graphic_sheet = 2;
	ob_base_icon_num = 0;
	ob_object_type = 13;
	ob_num_anim_steps = 8;	
	ob_default_script = "pacifier";
	ob_block_move_when_destroyed = 1;

begindefineobject 240;
	import = 7;
	ob_name = "Nest 2";	
	ob_graphic_template = 27;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 5;

begindefineobject 241;
	import = 182;
	ob_name = "New Machine";
	ob_base_icon_num = 1;
	ob_object_type = 13;
	
begindefineobject 242;
	import = 182;
	ob_base_icon_num = 1;
	ob_object_type = 13;

begindefineobject 243;
	import = 9;
	ob_object_type = 2;
	ob_name = "Candles";
	ob_graphic_template = 46;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 3;
	ob_in_space_offset_y = -30;
	ob_glow_type = 7;
	ob_glow_trans = 80;
	ob_glow_offset = 20;		
	ob_width = 128;	
	ob_height = 128;	

begindefineobject 244;
	import = 20;
	ob_graphic_template = 46;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 5;
begindefineobject 245;
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 6;	
	ob_block_move_when_destroyed = 1;
begindefineobject 246;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 7;	

begindefineobject 247;
	import = 20;
	ob_graphic_template = 46;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 8;	
	ob_which_icon_destroyed = 8;	

begindefineobject 248;
	import = 182;
	ob_name = "Teh Zapper";
	ob_graphic_template = 29;
	ob_graphic_sheet = 2;
	ob_base_icon_num = 0;
	ob_object_type = 13;
	ob_graphic_coloradj = 1;
	ob_num_anim_steps = 8;	

begindefineobject 249;
	import = 20;
	ob_name = "Box of Food";
	ob_graphic_template = 28;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;
	ob_block_move_when_destroyed = 1;
begindefineobject 250;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 9;
	
// SFX TYPES (what these are in listed in asset lists file)
begindefinesfx 0;
// imported for all tiny zaps
	//sfx_name = "smboom";
	sfx_graphic_template = 40;
	sfx_graphic_sheet = 0;
	sfx_ms_per_step = 64;
	sfx_step_special_thing_on = 2;
	
begindefinesfx 1;
	import = 0;
	sfx_graphic_coloradj = 1;
begindefinesfx 2;
	sfx_graphic_coloradj = 2;
begindefinesfx 3;
	sfx_graphic_coloradj = 4;

begindefinesfx 4;
	sfx_graphic_sheet = 1;
	sfx_graphic_coloradj = 0;
begindefinesfx 5;
	sfx_graphic_coloradj = 1;
begindefinesfx 6;
	sfx_graphic_coloradj = 2;

begindefinesfx 7;
	sfx_graphic_sheet = 2;
	sfx_graphic_coloradj = 0;

begindefinesfx 8;
	sfx_graphic_sheet = 3;
	sfx_graphic_coloradj = 0;
begindefinesfx 9;
	sfx_graphic_coloradj = 1;
begindefinesfx 10;
	sfx_graphic_coloradj = 4;
begindefinesfx 11;
	sfx_graphic_coloradj = 2;

begindefinesfx 12;
	sfx_graphic_sheet = 4;
	sfx_graphic_coloradj = 0;
begindefinesfx 13;
	sfx_graphic_coloradj = 1;

begindefinesfx 14;
	sfx_graphic_sheet = 5;
	sfx_graphic_coloradj = 0;
begindefinesfx 15;
	sfx_graphic_coloradj = 4;
begindefinesfx 16;
	sfx_graphic_coloradj = 1;

begindefinesfx 17;
	sfx_graphic_sheet = 6;
	sfx_graphic_coloradj = 0;
begindefinesfx 18;
	sfx_graphic_coloradj = 2;

begindefinesfx 19;
	sfx_graphic_sheet = 7;
	sfx_graphic_coloradj = 0;
begindefinesfx 20;
	sfx_graphic_coloradj = 4;
begindefinesfx 21;
	sfx_graphic_coloradj = 2;

begindefinesfx 22;
	sfx_graphic_sheet = 8;
	sfx_graphic_coloradj = 0;

begindefinesfx 23;
	sfx_graphic_sheet = 9;
	sfx_graphic_coloradj = 0;

// big booms (usually damaging)
begindefinesfx 50;
// imported for all big booms
	//sfx_name = "bigboom";
	sfx_graphic_template = 41;
	sfx_graphic_sheet = 0;
	sfx_ms_per_step = 64;
	sfx_sfx_sound = 103;
begindefinesfx 51;
	sfx_sfx_effect = 1;
	sfx_amount_of_effect = 20;
begindefinesfx 52;
	sfx_amount_of_effect = 30;
begindefinesfx 53;
	sfx_amount_of_effect = 80;
begindefinesfx 54;
	sfx_amount_of_effect = 200;
begindefinesfx 55;
	sfx_amount_of_effect = 1000;

begindefinesfx 60;
	import = 50;
	sfx_graphic_sheet = 2;
	sfx_sfx_sound = 188;
begindefinesfx 61;
	sfx_sfx_effect = 8;
	sfx_amount_of_effect = 20;
begindefinesfx 62;
	sfx_amount_of_effect = 50;
begindefinesfx 63;
	sfx_amount_of_effect = 100;
begindefinesfx 64;
	sfx_amount_of_effect = 250;
begindefinesfx 65;
	sfx_amount_of_effect = 1000;

begindefinesfx 70;
	import = 50;
	sfx_graphic_coloradj = 1;
	sfx_sfx_sound = 9;
begindefinesfx 71;
	sfx_sfx_effect = 7;
	sfx_amount_of_effect = 20;
begindefinesfx 72;
	sfx_amount_of_effect = 40;
begindefinesfx 73;
	sfx_amount_of_effect = 120;
begindefinesfx 74;
	sfx_amount_of_effect = 300;
begindefinesfx 75;
	sfx_amount_of_effect = 1000;
	
begindefinesfx 80;
	import = 50;
	sfx_graphic_sheet = 1;
	sfx_sfx_sound = 165;
begindefinesfx 81;
	sfx_sfx_effect = 3;
	sfx_amount_of_effect = 10;
begindefinesfx 82;
	sfx_amount_of_effect = 25;
begindefinesfx 83;
	sfx_amount_of_effect = 50;
begindefinesfx 84;
	sfx_amount_of_effect = 100;
begindefinesfx 85;
	sfx_amount_of_effect = 250;
	
begindefinesfx 90;
	import = 50;
	sfx_graphic_sheet = 1;
	sfx_graphic_coloradj = 4;
	sfx_sfx_sound = 165;
begindefinesfx 91;
	sfx_sfx_effect = 3;
	sfx_amount_of_effect = 10;
begindefinesfx 92;
	sfx_amount_of_effect = 25;
begindefinesfx 93;
	sfx_amount_of_effect = 50;
begindefinesfx 94;
	sfx_amount_of_effect = 100;
begindefinesfx 95;
	sfx_amount_of_effect = 250;
	
begindefinesfx 100;
	import = 50;
	sfx_graphic_sheet = 2;
	sfx_graphic_coloradj = 4;
	sfx_sfx_effect = 5;
	sfx_amount_of_effect = 10;
	sfx_sfx_sound = 128;
begindefinesfx 101;
	sfx_amount_of_effect = 25;
begindefinesfx 102;
	sfx_amount_of_effect = 50;
	
begindefinesfx 105;
	import = 50;
	sfx_graphic_sheet = 2;
	sfx_graphic_coloradj = 4;
	sfx_sfx_effect = 6;
	sfx_amount_of_effect = 10;
	sfx_sfx_sound = 180;
begindefinesfx 106;
	sfx_amount_of_effect = 25;
begindefinesfx 107;
	sfx_amount_of_effect = 50;

// particles on npcs
begindefinesfx 150;
	import = 0;
	sfx_graphic_template = -1;
	sfx_sfx_sound = -1;
	sfx_particle_type = 0;
	sfx_particle_movement = 4;
begindefinesfx 151;
	sfx_particle_type = 1;
	sfx_particle_movement = 1;
begindefinesfx 152;
	sfx_particle_type = 2;
	sfx_particle_movement = 6;
begindefinesfx 153;
	sfx_particle_type = 3;
	sfx_particle_movement = 0;
begindefinesfx 154;
	sfx_particle_type = 4;
	sfx_particle_movement = 0;
begindefinesfx 155;
	sfx_particle_type = 5;
	sfx_particle_movement = 2;
begindefinesfx 156;
	sfx_particle_type = 6;
	sfx_particle_movement = 4;
begindefinesfx 157;
	sfx_particle_type = 7;
	sfx_particle_movement = 0;
begindefinesfx 158;
	sfx_particle_type = 8;
	sfx_particle_movement = 0;
begindefinesfx 159;
	sfx_particle_type = 9;
	sfx_particle_movement = 6;
begindefinesfx 160;
	sfx_particle_type = 10;
	sfx_particle_movement = 1;
begindefinesfx 161;
	sfx_particle_type = 11;
	sfx_particle_movement = 2;
begindefinesfx 162;
	sfx_particle_type = 12;
	sfx_particle_movement = 2;
begindefinesfx 163;
	sfx_particle_type = 13;
	sfx_particle_movement = 6;

begindefinesfx 170; // big poof of flame
	import = 0;
	sfx_graphic_template = 47;
	sfx_graphic_sheet = 0;
begindefinesfx 171; // big poof of slime
	sfx_graphic_sheet = 1;
begindefinesfx 172; 
	sfx_graphic_sheet = 2;
begindefinesfx 173; 
	sfx_graphic_sheet = 3;
begindefinesfx 174; 
	sfx_graphic_sheet = 4;
begindefinesfx 175; 
	sfx_graphic_sheet = 5;
begindefinesfx 176; 
	sfx_graphic_sheet = 6;
begindefinesfx 177; 
	sfx_graphic_coloradj = 1;
begindefinesfx 178; 
	sfx_graphic_coloradj = 2;
begindefinesfx 179; 
	sfx_graphic_coloradj = 4;
begindefinesfx 180; 
	sfx_graphic_sheet = 4;
	sfx_graphic_coloradj = 2;
begindefinesfx 181; 
	sfx_graphic_sheet = 4;
	sfx_graphic_coloradj = 1;
	
begindefinesfx 190;
	import = 0;
	sfx_graphic_template = -1;
	sfx_sfx_sound = -1;
	sfx_particle_type = 0;
	sfx_particle_movement = 9;
begindefinesfx 191;
	sfx_particle_type = 10;
	sfx_particle_movement = 10;
begindefinesfx 192;
	sfx_particle_type = 21;
	sfx_particle_movement = 9;
begindefinesfx 193;
	sfx_particle_type = 17;
	sfx_particle_movement = 10;

// PROJECTILE TYPES (what these are in listed in asset lists file)
//	proj_name
//	proj_graphic_template
//	proj_graphic_sheet
//	proj_graphic_coloradj
//	proj_speed
//	proj_draw_type
//	proj_graphic_type
//	proj_flight_type
//	proj_start_height
//	proj_glowing_nimbus

// multidirectional projectiles
begindefineprojectile 0;
	proj_graphic_template = 57;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_speed = 50;
	proj_glowing_nimbus = 1;
	proj_missile_nimbus = 50;
	proj_missile_nimbus_num = 12;
	proj_missile_nimbus_range = 5;
	
//	proj_particle_shedded = 101;
//	proj_shed_chance = 75;
	
begindefineprojectile 1;
	proj_graphic_sheet = 1;
	proj_missile_nimbus = 51;
	proj_missile_nimbus_num = 16;
	proj_missile_nimbus_range = 6;

	proj_particle_shedded = -1;
begindefineprojectile 2;
	proj_graphic_sheet = 2;
	proj_glowing_nimbus = 6;
	proj_missile_nimbus = 52;
	proj_missile_nimbus_num = 12;
	proj_missile_nimbus_range = 3;
begindefineprojectile 3;
	proj_graphic_sheet = 3;
	proj_glowing_nimbus = 5;
	proj_missile_nimbus = 55;
begindefineprojectile 4;
	proj_graphic_sheet = 4;
	proj_glowing_nimbus = 0;
	proj_missile_nimbus = 56;
	proj_missile_nimbus_num = 16;
	proj_missile_nimbus_range = 6;
begindefineprojectile 5;
	proj_graphic_sheet = 2;
	proj_graphic_coloradj = 2;
	proj_missile_nimbus = 57;
begindefineprojectile 6;
	proj_graphic_sheet = 3;
	proj_graphic_coloradj = 4;
	proj_missile_nimbus = 58;
begindefineprojectile 7;
	proj_graphic_sheet = 3;
	proj_graphic_coloradj = 1;
	proj_missile_nimbus = 62;
	
begindefineprojectile 10;
	proj_graphic_template = 1;
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
begindefineprojectile 11;
	proj_graphic_sheet = 2;
begindefineprojectile 12;
	proj_glowing_nimbus = 0;
begindefineprojectile 13;
	proj_glowing_nimbus = 6;
begindefineprojectile 14;
	proj_glowing_nimbus = 0;
	proj_missile_nimbus = 58;
	
	
begindefineprojectile 15;
	proj_graphic_template = 2;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
begindefineprojectile 16;
	proj_graphic_template = 2;
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;

// uni-directional, flat trajectory, black background projectiles
begindefineprojectile 30;
	proj_graphic_template = 58;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 2;
	proj_graphic_type = 0;
	proj_flight_type = 0;
	proj_speed = 40;
//	proj_glowing_nimbus = 1;
begindefineprojectile 31;
	proj_graphic_sheet = 1;
begindefineprojectile 32;
	proj_graphic_sheet = 2;
//	proj_glowing_nimbus = 6;
begindefineprojectile 33;
	proj_graphic_sheet = 3;
//	proj_glowing_nimbus = -1;
begindefineprojectile 34;
	proj_graphic_sheet = 4;
	proj_speed = 20;
//	proj_glowing_nimbus = 0;
begindefineprojectile 35;
	proj_graphic_sheet = 5;
	proj_speed = 40;
//	proj_glowing_nimbus = 5;
begindefineprojectile 36;
	proj_graphic_sheet = 6;
//	proj_glowing_nimbus = 0;
begindefineprojectile 37;
	proj_graphic_sheet = 7;
begindefineprojectile 38;
	proj_graphic_sheet = 2;
	proj_graphic_coloradj = 4;
begindefineprojectile 39;
	proj_graphic_sheet = 6;
	proj_graphic_coloradj = 4;
begindefineprojectile 40;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 1;
	proj_glowing_nimbus = 5;
begindefineprojectile 41;
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 1;
begindefineprojectile 42;
	proj_graphic_sheet = 7;
	proj_graphic_coloradj = 1;
//	proj_glowing_nimbus = 0;
begindefineprojectile 43;
	proj_graphic_sheet = 8;
	proj_graphic_coloradj = 0;
begindefineprojectile 44;
	proj_graphic_sheet = 9;
	proj_graphic_coloradj = 0;
	proj_glowing_nimbus = -1;
begindefineprojectile 45;
	proj_graphic_coloradj = 4;
begindefineprojectile 46;
	proj_graphic_coloradj = 1;

// uni-directional, arcing trajectory, black background projectiles
begindefineprojectile 50;
	import = 30;
	proj_flight_type = 2;
begindefineprojectile 51;
	import = 31;
	proj_flight_type = 2;
begindefineprojectile 52;
	import = 32;
	proj_flight_type = 2;
begindefineprojectile 53;
	import = 33;
	proj_flight_type = 2;
begindefineprojectile 54;
	import = 34;
	proj_flight_type = 2;
begindefineprojectile 55;
	import = 35;
	proj_flight_type = 2;
begindefineprojectile 56;
	import = 36;
	proj_flight_type = 2;
begindefineprojectile 57;
	import = 37;
	proj_flight_type = 2;
begindefineprojectile 58;
	import = 38;
	proj_flight_type = 2;
begindefineprojectile 59;
	import = 39;
	proj_flight_type = 2;
begindefineprojectile 60;
	import = 40;
	proj_flight_type = 2;
begindefineprojectile 61;
	import = 41;
	proj_flight_type = 2;
begindefineprojectile 62;
	import = 42;
	proj_flight_type = 2;
begindefineprojectile 63;
	import = 43;
	proj_flight_type = 2;
begindefineprojectile 64;
	import = 44;
	proj_flight_type = 2;
begindefineprojectile 65;
	import = 45;
	proj_flight_type = 2;
begindefineprojectile 66;
	import = 46;
	proj_flight_type = 2;

// big poofy fireballs
begindefineprojectile 70;
	proj_graphic_template = 59;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 2;
	proj_graphic_type = 0;
	proj_speed = 40;
	proj_flight_type = 0;
	proj_start_height = -20;
	proj_glowing_nimbus = 1;
begindefineprojectile 71;
	proj_graphic_coloradj = 1;
	proj_glowing_nimbus = 5;
begindefineprojectile 72;
	proj_graphic_coloradj = 4;
	proj_glowing_nimbus = 6;

// smoke puffs
begindefineprojectile 80;
	import = 30;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 81;
	import = 31;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 82;
	import = 32;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 83;
	import = 33;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 84;
	import = 34;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 85;
	import = 35;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 86;
	import = 36;
	proj_flight_type = 4;
	proj_speed = 1;
begindefineprojectile 87;
	import = 37;
	proj_flight_type = 4;
	proj_speed = 1;

// hovering particle
begindefineprojectile 100;
	import = 43;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 101;
	import = 44;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 102;
	import = 45;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 103;
	import = 46;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 104;
	import = 37;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 105;
	import = 35;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 106;
	import = 43;
	proj_flight_type = 5;
	proj_glowing_nimbus = 0;

// projectiles that shed others
begindefineprojectile 110;
	import = 43;
	proj_particle_shedded = 100;
	proj_shed_chance = 10;
	proj_glowing_nimbus = -1;
begindefineprojectile 111;
	import = 36;
	proj_particle_shedded = 105;
	proj_shed_chance = 10;
	proj_glowing_nimbus = -1;
begindefineprojectile 112;
	import = 43;
	proj_particle_shedded = 104;
	proj_shed_chance = 10;
	proj_glowing_nimbus = 0;
	proj_speed = 50;

// rain snow	
begindefineprojectile 130;
	import = 0;
	proj_graphic_template = 240;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 2;
	proj_graphic_type = 0;
	proj_flight_type = 3;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
	proj_speed = 8;
	proj_translucence = 50;
	
begindefineprojectile 131; //snow
	proj_graphic_template = 241;
	proj_speed = 2;
	proj_translucence = 75;
	proj_rotation_speed = 1;

begindefineprojectile 132; //blue sparkle
	proj_graphic_template = 242; 
	proj_graphic_sheet = 1;
	proj_translucence = 30;
	proj_speed = 1;
	proj_rotation_speed = 0;
begindefineprojectile 133; // rain fire
	proj_graphic_template = 242;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_translucence = 100;
	proj_speed = 4;
	proj_rotation_speed = 0;
begindefineprojectile 134; // rain energy
	proj_graphic_sheet = 5;
	proj_graphic_coloradj = 1;
	proj_rotation_speed = 20;
begindefineprojectile 135; // rain acid
	proj_graphic_sheet = 4;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 0;
begindefineprojectile 136; // spinning fire stars
	proj_graphic_sheet = 5;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 20;
begindefineprojectile 137; // white motes
	proj_graphic_sheet = 3;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 20;
begindefineprojectile 138; // rain energy
	proj_graphic_sheet = 2;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 10;
begindefineprojectile 139; // rain ice
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 1;
	proj_rotation_speed = 2;

// projectiles that spiral out slowly
begindefineprojectile 140;
	import = 30;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = 0;
begindefineprojectile 141;
	import = 31;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 142;
	import = 32;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 143;
	import = 33;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 144;
	import = 34;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
	proj_graphic_coloradj = 272;
begindefineprojectile 145;
	import = 35;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 146;
	import = 36;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 147;
	import = 37;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 148;
	import = 38;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 149;
	import = 39;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 150;
	import = 40;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 151;
	import = 41;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 152;
	import = 42;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 153;
	import = 43;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = 0;
begindefineprojectile 154; // fire poof
	import = 30;
	proj_graphic_template = 242;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_rotation_speed = 5;
begindefineprojectile 155; // energy poof
	proj_graphic_sheet = 2;
begindefineprojectile 156; // acid poof
	proj_graphic_sheet = 4;
begindefineprojectile 157; // glowing mote
	proj_graphic_sheet = 1;
	proj_glowing_nimbus = 7;
begindefineprojectile 158; // larger glowing mote
	proj_graphic_sheet = 3;
begindefineprojectile 159; // red spinny star
	proj_graphic_sheet = 5;

// projectiles that spiral out quickly
begindefineprojectile 160;
	import = 30;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 161;
	import = 31;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 162;
	import = 32;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 163;
	import = 33;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 164;
	import = 34;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 165;
	import = 35;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 166;
	import = 36;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 167;
	import = 37;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 168;
	import = 38;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 169;
	import = 39;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 170;
	import = 40;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 171;
	import = 41;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 172;
	import = 42;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 173;
	import = 43;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 174; // fire poof
	import = 30;
	proj_graphic_template = 242;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
	proj_rotation_speed = 5;
begindefineprojectile 175; // energy poof
	proj_graphic_sheet = 2;
begindefineprojectile 176; // acid poof
	proj_graphic_sheet = 4;
begindefineprojectile 177; // glowing mote
	proj_graphic_sheet = 1;
	proj_glowing_nimbus = 7;
begindefineprojectile 178; // larger glowing mote
	proj_graphic_sheet = 3;
begindefineprojectile 179; // red spinny star
	proj_graphic_sheet = 5;

begindefineprojectile 185; //one more sparkle
	import = 132;
	proj_graphic_template = 242; 
	proj_graphic_sheet = 3;
	proj_translucence = 60;
	proj_graphic_coloradj = 2;
	proj_rotation_speed = 5;
	proj_speed = 1;